package com.jokerpan.project.service.impl;

import com.jokerpan.project.entity.Menu;
import com.jokerpan.project.mapper.MenuMapper;
import com.jokerpan.project.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author jokerpan
 */
@Service("menuService")
public class MenuServiceImpl implements MenuService {

    @Resource
    MenuMapper menuMapper;

    @Override
    public Menu getMenu(Integer access) {
        return menuMapper.getMenu(access);
    }
}
